setAlwaysOnBottom

abstract fun setAlwaysOnBottom(block: DesignBlock, enabled: Boolean)

Update the block's always-on-bottom property. If true, this blocks's global sorting order is automatically adjusted to be lower than all other siblings without this property. If more than one block is set to be always-on-bottom, the child order decides which is on the bottom.

Parameters

block

the block to update.

enabled

whether the block shall be always-on-bottom.